﻿@using XiaoYuStock.Model
@using XiaoYuStock.Model.Models
@using XiaoYuStock.Model.Request
@using XiaoYuStock.WebApp.Controls
@model  XiaoYuStock.Core.Entities.DoctorData
@{
    Layout = "~/Views/Shared/_Layout.Edit.cshtml";
}
@section PageSpecificStyleSheetIncludes{
    <style type="text/css">
        .controls label { display: inline; }
         body{font-size:14px;color:#454545;}
   thead{background:#f5f5f5;line-height:40px;}
   td{padding:5px 5px;}
   table {
    border-collapse: collapse;
    width: 100%;
}

     table tr {
        border-bottom: solid 1px #ececec;
    }

    table th {
        background-color: #0d77b6;
        color: #ffffff;
        height: 50px;
        border: solid 1px rgba(221, 221, 221, 0.18);
        padding: 5px 15px;
    }

    table td {
        padding: 8px 2px;border:solid 1px #ddd;
    }
    </style>
}
@section PageSpecificJavascriptIncludes{
}
@section MainContent{
    <div class="portlet-body form-horizontal form-bordered form-row-stripped">
       <table>
           <thead>
               <tr>
                   <th style="width:40px;">分类</th>
                   <th style="width:200px;">项目名称</th>
                   <th>项目内容</th>
               </tr>
           </thead>
           <tbody>
               <tr>
                   <td rowspan="8">概述</td>
                   <td>综合评分</td>
                   <td>@Model.OverallScore &nbsp;<span>诊断日期</span><span>@Model.CapitalDate</span><span>&nbsp;平均成本</span><span>@Model.CapitalPrice</span></td>
                  
               </tr>
               <tr>
                   <td>卖出|减持|中性|增持|买入</td>
                   <td>@Model.ResultType</td>
               </tr>
               <tr>
                   <td>短期趋势</td>
                   <td>@Model.SResult</td>
                  
               </tr>
               <tr>
                   <td>中期趋势</td>
                   <td>@Model.MResult</td>
               </tr>
               <tr>
                   <td>长期趋势</td>
                   <td>@Model.LResult</td>
                  
               </tr>
               <tr>
                   <td>机构预测</td>
                   <td>@(Model.MechanismType) 备注：(1:卖出|2:减持|3:中性|4:增持|5:买入)</td>
               </tr>
               <tr>
                   <td>机构综述</td>
                   <td>@Model.MechanismOverview</td>
               </tr>
               <tr>
                   <td>描述</td>
                   <td>@Model.CapitalDesc</td>
               </tr>
               <tr>
                   <td rowspan="9">技术面</td>
                   <td>选股动向</td>
                   <td>@Model.Technical.SGDX</td>
               </tr>
               <tr>

                   <td>技术形态</td>
                   <td> @Html.Raw(string.Join("<br/>", Model.Technical.JSXT.Select(m => { return m.Key + ":" + m.Value; })))</td>
               </tr>
               <tr>
                   <td>买入信号</td>
                   <td>@Html.Raw(string.Join("<br/>", Model.Technical.MRXH.Select(m => { return m.Key + ":" + m.Value; })))</td>
               </tr>
               <tr>
                   <td>平均成本</td>
                   <td>@Model.Technical.PJCB</td>
               </tr>
               <tr>
                   <td>平均成本类型：上/下</td>
                   <td>>@Model.Technical.PJCBType</td>
               </tr>
               <tr>
                   <td>市场表现</td>
                   <td>@Model.Technical.SCBX</td>
               </tr>
               <tr>
                   <td>压力位</td>
                   <td>@Model.Technical.YLW</td>
               </tr>
               <tr>
                   <td>支撑位</td>
                   <td>@Model.Technical.ZCW</td>
               </tr>
               <tr>
                   <td>多空趋势</td>
                   <td>@Model.Technical.DKQS</td>
               </tr>
               <tr>
                   <td rowspan="3">资金面</td>
                   <td>资金流向</td>
                   <td>>@Model.Capital.ZJLX</td>
               </tr>
               <tr>
                   <td>主力控盘</td>
                   <td>@Model.Capital.ZLKP</td>
               </tr>
               <tr>
                   <td>机构持仓</td>
                   <td>@Model.Capital.JGCC</td>
               </tr>
               <tr>
                   <td>消息面</td>
                   <td>@Model.Msg.Score</td>
                   <td>@Model.Msg.Overview</td>
               </tr>
               <tr>
                   <td>行业面</td>
                   <td>@Model.Industry.Score</td>
                   <td>>@Model.Industry.Overview</td>
               </tr>
               <tr>
                   <td rowspan="8">基本面</td>
                   <td>@Model.BaseDoc.QZGSZSNLType</td>
                   <td>@Model.BaseDoc.QZGSZSNLReason</td>
               </tr>
               
               <tr>
                   <td>@Model.BaseDoc.QZGFHNLType</td>
                   <td>@Model.BaseDoc.QZGFHNLReason</td>
               </tr>
               <tr>
                   <td>盈利能力</td>
                   <td>@Model.BaseDoc.YLNL</td>
               </tr>
               <tr>

                   <td>成长能力</td>
                   <td>@Model.BaseDoc.CZNL</td>
               </tr>
               <tr>

                   <td>营运能力</td>
                   <td>@Model.BaseDoc.YYNL</td>
               </tr>

               <tr>
   
                   <td>现金流能力</td>
                   <td>@Model.BaseDoc.XJLNL</td>
               </tr>
               <tr>
         
                   <td>短期偿债能力</td>
                   <td>@Model.BaseDoc.DQCHNL</td>
               </tr>
               <tr>
           
                   <td>长期偿债能力</td>
                   <td>@Model.BaseDoc.CQCHNL</td>
               </tr>
           </tbody>

       </table>
            </div>
}




